<?php

    // TITLE: Office Events Controller
    // FILE: app/office/controller/event.php
    // AUTHOR: AUTOGEN
    // CREATED: 2015/02/11 05:54:50
    // DESCRIPTION: 
    // REQUIREMENTS: 

    switch ($act) {

        case 'create':
            // CODE HERE
            $page = $dir . '/view/create' . ucfirst($sub) . '.php';
            break;

        case 'update':
            // CODE HERE
            $page = $dir . '/view/update' . ucfirst($sub) . '.php';
            break;

        case 'delete':
            // CODE HERE
            $page = $dir . '/view/delete' . ucfirst($sub) . '.php';
            break;

        case 'list':
            // CODE HERE
            $page = $dir . '/view/list' . ucfirst($sub) . '.php';
            break;

        case 'input':
            // CODE HERE
            $page = $dir . '/view/input' . ucfirst($sub) . '.php';
            break;

        case 'view':
            // CODE HERE
            $page = $dir . '/view/view' . ucfirst($sub) . '.php';
            break;

        case 'edit':
            // CODE HERE
            $page = $dir . '/view/edit' . ucfirst($sub) . '.php';
            break;

        case 'search':
        default:
            // CODE HERE
            $page = $dir . '/view/search' . ucfirst($sub) . '.php';
            break;

    }// end switch

?>
